#region

using SqlSugar;

#endregion

namespace Vin.Extension.SqlSugar.Utils;

public class VinSqlSugarUtilsMethods
{
    public static string GetAppendSql(string sql, SugarParameter[] pars)
    {
        return string.Join("", pars.Select(m => "set " + m.ParameterName + " = '" + m.Value + "';")) +
               "\r\n" + sql;
    }
}